@(resources: List[Resource])
@import play.i18n._

<table class="resources-list">
	<tr>
		<th class="resource-name">@Messages.get("view.resource.list.name.column")</th>
		<th class="resource-name">@Messages.get("view.resource.list.scope.column")</th>
		<th class="confiresourceg-description">@Messages.get("view.resource.list.desc.column")</th>
		<th class="resource-created-date">@Messages.get("view.resource.list.createddate.column")</th>
		<th class="resource-last-modified-date">@Messages.get("view.resource.list.lastmodifieddate.column")</th>
	</tr>
	@for(resource <- resources) {
		<tr>
			<td class="resource-name"><a href="@routes.TestResources.editResource(resource.getId())" title="@Messages.get("view.resource.list.editlink.title")">@resource.getName()</a></td>
			<td class="resource-description">@resource.getScope()</td>
			<td class="resource-description">@resource.getDescription()</td>
			<td class="resource-created-date">@resource.getCreatedDate().format(play.Play.application().configuration().getString("datetime.format"))</td>
			<td class="resource-last-modified-date">@resource.getLastModifiedDate().format(play.Play.application().configuration().getString("datetime.format"))</td>
		</tr>
	}
</table>
